/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.informet.ipd.modelo.vo;

import javax.swing.JOptionPane;

/**
 *
 * @author LAPTOP01
 */
public class FisiMetaMVO {



    private int NUM_CODFISIMETAM_PK;
    private int NUM_CODMETAAPER_PK;
    private int TX_TIPOFISIMETAM;
    private double NUM_MES1FISIMETAM;
    private double NUM_MES2FISIMETAM;
    private double NUM_MES3FISIMETAM;
    private double NUM_MES4FISIMETAM;
    private double NUM_MES5FISIMETAM;
    private double NUM_MES6FISIMETAM;
    private double NUM_MES7FISIMETAM;
    private double NUM_MES8FISIMETAM;
    private double NUM_MES9FISIMETAM;
    private double NUM_MES10FISIMETAM;
    private double NUM_MES11FISIMETAM;
    private double NUM_MES12FISIMETAM;
    private double mayor;
    private double total;


    public double getTotal() {
		return total;
	}

	public void setTotal(double total) {
		this.total = total;
	}

	public FisiMetaMVO() {
    }

    public FisiMetaMVO(int NUM_CODFISIMETAM_PK, int NUM_CODMETAAPER_PK, int TX_TIPOFISIMETAM, double NUM_MES1FISIMETAM,
            double NUM_MES2FISIMETAM, double NUM_MES3FISIMETAM, double NUM_MES4FISIMETAM,
            double NUM_MES5FISIMETAM, double NUM_MES6FISIMETAM, double NUM_MES7FISIMETAM, double NUM_MES8FISIMETAM,
            double NUM_MES9FISIMETAM, double NUM_MES10FISIMETAM, double NUM_MES11FISIMETAM, double NUM_MES12FISIMETAM) {
        this.NUM_CODFISIMETAM_PK = NUM_CODFISIMETAM_PK;
        this.NUM_CODMETAAPER_PK = NUM_CODMETAAPER_PK;
        this.TX_TIPOFISIMETAM = TX_TIPOFISIMETAM;
        this.NUM_MES1FISIMETAM = NUM_MES1FISIMETAM;
        this.NUM_MES2FISIMETAM = NUM_MES2FISIMETAM;
        this.NUM_MES3FISIMETAM = NUM_MES3FISIMETAM;
        this.NUM_MES4FISIMETAM = NUM_MES4FISIMETAM;
        this.NUM_MES5FISIMETAM = NUM_MES5FISIMETAM;
        this.NUM_MES6FISIMETAM = NUM_MES6FISIMETAM;
        this.NUM_MES7FISIMETAM = NUM_MES7FISIMETAM;
        this.NUM_MES8FISIMETAM = NUM_MES8FISIMETAM;
        this.NUM_MES9FISIMETAM = NUM_MES9FISIMETAM;
        this.NUM_MES10FISIMETAM = NUM_MES10FISIMETAM;
        this.NUM_MES11FISIMETAM = NUM_MES11FISIMETAM;
        this.NUM_MES12FISIMETAM = NUM_MES12FISIMETAM;
        
     //   this.total=total;

    }
    
    
    public FisiMetaMVO(int NUM_CODFISIMETAM_PK, int NUM_CODMETAAPER_PK, int TX_TIPOFISIMETAM, double NUM_MES1FISIMETAM,
            double NUM_MES2FISIMETAM, double NUM_MES3FISIMETAM, double NUM_MES4FISIMETAM,
            double NUM_MES5FISIMETAM, double NUM_MES6FISIMETAM, double NUM_MES7FISIMETAM, double NUM_MES8FISIMETAM,
            double NUM_MES9FISIMETAM, double NUM_MES10FISIMETAM, double NUM_MES11FISIMETAM, double NUM_MES12FISIMETAM,double total) {
        this.NUM_CODFISIMETAM_PK = NUM_CODFISIMETAM_PK;
        this.NUM_CODMETAAPER_PK = NUM_CODMETAAPER_PK;
        this.TX_TIPOFISIMETAM = TX_TIPOFISIMETAM;
        this.NUM_MES1FISIMETAM = NUM_MES1FISIMETAM;
        this.NUM_MES2FISIMETAM = NUM_MES2FISIMETAM;
        this.NUM_MES3FISIMETAM = NUM_MES3FISIMETAM;
        this.NUM_MES4FISIMETAM = NUM_MES4FISIMETAM;
        this.NUM_MES5FISIMETAM = NUM_MES5FISIMETAM;
        this.NUM_MES6FISIMETAM = NUM_MES6FISIMETAM;
        this.NUM_MES7FISIMETAM = NUM_MES7FISIMETAM;
        this.NUM_MES8FISIMETAM = NUM_MES8FISIMETAM;
        this.NUM_MES9FISIMETAM = NUM_MES9FISIMETAM;
        this.NUM_MES10FISIMETAM = NUM_MES10FISIMETAM;
        this.NUM_MES11FISIMETAM = NUM_MES11FISIMETAM;
        this.NUM_MES12FISIMETAM = NUM_MES12FISIMETAM;
        
        this.total=total;

    }
    
    

    /**
     * @return the NUM_CODFISIMETA_PK
     */
    public int getNUM_CODFISIMETAM_PK() {
        return NUM_CODFISIMETAM_PK;
    }

    /**
     * @param NUM_CODFISIMETAM_PK the NUM_CODFISIMETAM_PK to set
     */
    public void setNUM_CODFISIMETAM_PK(int NUM_CODFISIMETAM_PK) {
        this.NUM_CODFISIMETAM_PK = NUM_CODFISIMETAM_PK;
    }

    /**
     * @return the NUM_CODMETAAPER_PK
     */
    public int getNUM_CODMETAAPER_PK() {
        return NUM_CODMETAAPER_PK;
    }

    /**
     * @param NUM_CODMETAAPER_PK the NUM_CODMETAAPER_PK to set
     */
    public void setNUM_CODMETAAPER_PK(int NUM_CODMETAAPER_PK) {
        this.NUM_CODMETAAPER_PK = NUM_CODMETAAPER_PK;
    }

    /**
     * @return the TX_TIPOFISIMETAM
     */
    

    /**
     * @return the NUM_MES1FISIMETAM
     */
    public double getNUM_MES1FISIMETAM() {
        return NUM_MES1FISIMETAM;
    }

    /**
     * @param NUM_MES1FISIMETAM the NUM_MES1FISIMETAM to set
     */
    public void setNUM_MES1FISIMETAM(double NUM_MES1FISIMETAM) {
        this.NUM_MES1FISIMETAM = NUM_MES1FISIMETAM;
    }

    /**
     * @return the NUM_MES2FISIMETAM
     */
    public double getNUM_MES2FISIMETAM() {
        return NUM_MES2FISIMETAM;
    }

    /**
     * @param NUM_MES2FISIMETAM the NUM_MES2FISIMETAM to set
     */
    public void setNUM_MES2FISIMETAM(double NUM_MES2FISIMETAM) {
        this.NUM_MES2FISIMETAM = NUM_MES2FISIMETAM;
    }

    /**
     * @return the NUM_MES3FISIMETAM
     */
    public double getNUM_MES3FISIMETAM() {
        return NUM_MES3FISIMETAM;
    }

    /**
     * @param NUM_MES3FISIMETAM the NUM_MES3FISIMETAM to set
     */
    public void setNUM_MES3FISIMETAM(double NUM_MES3FISIMETAM) {
        this.NUM_MES3FISIMETAM = NUM_MES3FISIMETAM;
    }

    /**
     * @return the NUM_MES4FISIMETAM
     */
    public double getNUM_MES4FISIMETAM() {
        return NUM_MES4FISIMETAM;
    }

    /**
     * @param NUM_MES4FISIMETAM the NUM_MES4FISIMETAM to set
     */
    public void setNUM_MES4FISIMETAM(double NUM_MES4FISIMETAM) {
        this.NUM_MES4FISIMETAM = NUM_MES4FISIMETAM;
    }

    /**
     * @return the NUM_MES5FISIMETAM
     */
    public double getNUM_MES5FISIMETAM() {
        return NUM_MES5FISIMETAM;
    }

    /**
     * @param NUM_MES5FISIMETAM the NUM_MES5FISIMETAM to set
     */
    public void setNUM_MES5FISIMETAM(double NUM_MES5FISIMETAM) {
        this.NUM_MES5FISIMETAM = NUM_MES5FISIMETAM;
    }

    /**
     * @return the NUM_MES6FISIMETAM
     */
    public double getNUM_MES6FISIMETAM() {
        return NUM_MES6FISIMETAM;
    }

    /**
     * @param NUM_MES6FISIMETAM the NUM_MES6FISIMETAM to set
     */
    public void setNUM_MES6FISIMETAM(double NUM_MES6FISIMETAM) {
        this.NUM_MES6FISIMETAM = NUM_MES6FISIMETAM;
    }

    /**
     * @return the NUM_MES7FISIMETAM
     */
    public double getNUM_MES7FISIMETAM() {
        return NUM_MES7FISIMETAM;
    }

    /**
     * @param NUM_MES7FISIMETAM the NUM_MES7FISIMETAM to set
     */
    public void setNUM_MES7FISIMETAM(double NUM_MES7FISIMETAM) {
        this.NUM_MES7FISIMETAM = NUM_MES7FISIMETAM;
    }

    /**
     * @return the NUM_MES8FISIMETAM
     */
    public double getNUM_MES8FISIMETAM() {
        return NUM_MES8FISIMETAM;
    }

    /**
     * @param NUM_MES8FISIMETAM the NUM_MES8FISIMETAM to set
     */
    public void setNUM_MES8FISIMETAM(double NUM_MES8FISIMETAM) {
        this.NUM_MES8FISIMETAM = NUM_MES8FISIMETAM;
    }

    /**
     * @return the NUM_MES9FISIMETAM
     */
    public double getNUM_MES9FISIMETAM() {
        return NUM_MES9FISIMETAM;
    }

    /**
     * @param NUM_MES9FISIMETAM the NUM_MES9FISIMETAM to set
     */
    public void setNUM_MES9FISIMETAM(double NUM_MES9FISIMETAM) {
        this.NUM_MES9FISIMETAM = NUM_MES9FISIMETAM;
    }

    /**
     * @return the NUM_MES10FISIMETAM
     */
    public double getNUM_MES10FISIMETAM() {
        return NUM_MES10FISIMETAM;
    }

    /**
     * @param NUM_MES10FISIMETAM the NUM_MES10FISIMETAM to set
     */
    public void setNUM_MES10FISIMETAM(double NUM_MES10FISIMETAM) {
        this.NUM_MES10FISIMETAM = NUM_MES10FISIMETAM;
    }

    /**
     * @return the NUM_MES11FISIMETAM
     */
    public double getNUM_MES11FISIMETAM() {
        return NUM_MES11FISIMETAM;
    }

    /**
     * @param NUM_MES11FISIMETAM the NUM_MES11FISIMETAM to set
     */
    public void setNUM_MES11FISIMETAM(double NUM_MES11FISIMETAM) {
        this.NUM_MES11FISIMETAM = NUM_MES11FISIMETAM;
    }

    /**
     * @return the NUM_MES12FISIMETAM
     */
    public double getNUM_MES12FISIMETAM() {
        return NUM_MES12FISIMETAM;
    }

    /**
     * @param NUM_MES12FISIMETAM the NUM_MES12FISIMETAM to set
     */
    public void setNUM_MES12FISIMETAM(double NUM_MES12FISIMETAM) {
        this.NUM_MES12FISIMETAM = NUM_MES12FISIMETAM;
    }

    /**
     * @return the COD_TIPOFISIMETAM_PK
     */
    

	public void setMayor(double mayor) {
		this.mayor = mayor;
	}

	public double getMayor() {
		return mayor;
	}

    /**
     * @return the TX_TIPOFISIMETAM
     */
    public int getTX_TIPOFISIMETAM() {
        return TX_TIPOFISIMETAM;
    }

    /**
     * @param TX_TIPOFISIMETAM the TX_TIPOFISIMETAM to set
     */
    public void setTX_TIPOFISIMETAM(int TX_TIPOFISIMETAM) {
        this.TX_TIPOFISIMETAM = TX_TIPOFISIMETAM;
    }


    public String getStringTipoFisiMetaM(){
        String respuesta="";
        if(TX_TIPOFISIMETAM==1){
            respuesta= "Acumulado";
        }
        if(TX_TIPOFISIMETAM==2){
            respuesta= "Permanente";
        }
        return respuesta;
    }
}

   

    